package com.icinfo.cloud.provider.punish.api.client.config;

import com.icinfo.cloud.provider.punish.config.vo.ConfigFastProcedureDocumentInfoVo;
import com.icinfo.framework.common.web.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author shishengyao
 * @description
 * @date 2023/5/9
 */
@FeignClient(value = "${unified-punish-case-provider.namespace:}unified-punish-case-provider", contextId = "ConfigFastProcedureFeign")
public interface ConfigFastProcedureFeign {
    /**
     * V1.11.4 描述:根据部门code、适用的处罚事项、caseId查询文书信息
     *
     * @param orgCode
     * @param listCode
     * @param caseId   用例id
     * @return {@link Result<List<ConfigFastProcedureDocumentInfoVo>> }
     * @author shishengyao
     * @date 2023/05/09
     */
    @GetMapping("/punish/config/fastProcedure/getDocumentTemplateByListCode")
    Result<List<ConfigFastProcedureDocumentInfoVo>> getDocumentTemplateByListCode(@RequestParam("orgCode") String orgCode, @RequestParam("listCode") String listCode, @RequestParam("caseId") String caseId);

}
